package com.snake.springboot.authority.dao.mybatis.mappers;

import com.snake.springboot.authority.dao.mybatis.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface AuthMenuMapper {

    int insert(AuthMenuDO record);

    int delete(String menuId);

    int update(AuthMenuDO record);

    List<AuthMenuDO> findByCondition(AuthMenuDO condition);

    List<AuthMenuTreeDO> findForMenuTree(AuthRoleMenuDO condition);

    List<AuthMenuComplexDO> findById(String menuId);

}